package com.demo.sevice.impl;


import com.demo.common.model.User;
import com.demo.service.UserService;
import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Page;

@SuppressWarnings("serial")
public class UserServiceImpl extends Model<User> implements UserService{
	@Override
	public Page<User> paginate(int pageNumber, int pageSize) {
		return paginate(pageNumber, pageSize, "select *", "from user order by id asc");
	}


}
